<?php

include APPPATH.'controllers/gnc_mng.php';

class Aka extends Gnc_mng {

	function index()
	{
		$unit_by_groups = array("Pengelolaan Master" => array("aka/mahasiswa"=> "Mahasiswa",
															  "sdm/dosen"=> "Dosen"),
								"Pengelolaan Transaksi Dosen" => array("sdm/pengajaran"=> "Data Pengajaran (Dosen)",
																"sdm/sidang"=> "Data Kegiatan Sidang/Seminar (Dosen)",
																"sdm/penelitian"=> "Data Penelitian (Dosen)",
																"sdm/publikasi"=> "Data Publikasi (Dosen)",
																"sdm/wali"=> "Data Sejarah Menjadi Wali (Dosen)",
																"sdm/pejabat"=> "Data Sejarah Menjabat (Dosen)",
																"sdm/tugas"=> "Data Sejarah Bertugas (Dosen)",
																"sdm/pangkat"=> "Data Golongan dan Ruang Kepangkatan (Dosen)",
																"sdm/cuti" => "Cuti Pegawai"),
								"Pengelolaan Referensi" => array("aka/program_studi"=> "Program Studi",
															  "aka/tahun"=> "Tahun",
															"aka/tahun_ajaran"=> "Tahun Ajaran",
															"aka/semester"=> "Semester"));
		
		$data = array(
			'application' => $prefix,
			'application_title' => $this->common->get_application_description($prefix),
			'page' => 'Main',
			'navigation' => $this->load->view('sdm/nav/general', '', TRUE),
			'content' => $this->load->view('sdm/viewer/main', array('unit_by_groups' => $unit_by_groups), true),
		);	// data yang akan dipassing ke view
		$this->load->view('layout/default', $data);	
		
	}
}
